<div data-page="Subject_offline_select_course" class="page">
    <div class="page-content">
        <include file="Public:subject_header"/>
        <div class="container text mgb20">
            <div class="row">
                <div class="col-md-12">
                    <include file="Public:subject_nav"/>
                </div>
                <div class="col-md-8 ">
                    <div>
                        <ul class="gntabs">
                            <li><a href="<{:U('offline_select_record',array('subjectid'=>$subjectid))}>">选座记录</a></li>
                            <li class="active"><a href="<{:U('offline_select_course',array('subjectid'=>$subjectid))}>">选座</a>
                            </li>
                            <li class="offline_guide"><a
                                href="<{:U('offline_guide',array('subjectid'=>$subjectid))}>">选座指南</a></li>
                        </ul>
                        <div class="swiperContent">
                            <div class="tabPane">
                                <p align="center" class="mtg0"> <{$classrooms_info.name}></p>
                                <div class="dlLeftsite" align="center">
                                    <div align="center">讲台</div>
                                    <ul id="classrooms_seat">
                                        <for start="0" end="$classrooms_info['row_num']">
                                            <li class="og-li clearfix"><span class="colTitle"><{$i+1}>排</span>
                                                <for start="0" name="i2" end="$classrooms_info['line_num']">
                                                    <php>$num=($i+1)."_".($i2+1);</php>
                                                    <a href="javascript:;" num="<{$num}>"
                                                       choose="<{$books[$num]['class']=='has'?1:0}>"
                                                       class="<if condition=" $books[$num]['class']"><{$books[$num]['class']}>
                                                    <else/>
                                                    select
                                                    </if>
                                                    ">
                                                    <if condition="$books[$num]['class'] eq 'has'"><img
                                                            src="__EDUImages__/site_17.png" alt=""/>
                                                        <elseif condition="$books[$num]['class'] eq 'dis'"/>
                                                        <img src="__EDUImages__/site_19.png" alt=""/>
                                                        <else/>
                                                        <img src="__EDUImages__/site_15.png" alt=""/></if>
                                                    </a> </for>
                                            </li>
                                        </for>
                                    </ul>
                                    <div class="siteTip mgt10" style="text-align:center"><span><img id="un_choose_img"
                                                                                                    src="__EDUImages__/site_15.png"
                                                                                                    alt=""/>可选座位</span>
                                        <span><img id="choose_img" src="__EDUImages__/site_17.png" alt=""/>已选座位</span>
                                        <span><img src="__EDUImages__/site_19.png" alt=""/>不可选座位</span></div>
                                    <div class="siteTip mgt10"><a class="btn btn-success" id="book_now">确定座位</a></div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
                <div class="col-md-4 hidden-xs hidden-sm hidden-md"> <{:AD('offline_guide_'.$subjectParentId)}> <a
                        class="btn btn-success w100 a_bnt mgb20" title="我要提问" data-type="modal"
                        href="/Subject/ask/pid/<{$subjectid}>">我要提问</a> <{:ADGroup('Subject_offline')}>
                </div>
                <div class="clearfix"></div>
            </div>
            <div class="clearfix"></div>
        </div>
    </div>
</div>
</div>
</div>
